package com.juyu.miliao.api.service;

import com.juyu.miliao.api.cache.GradeCache;
import com.juyu.miliao.api.domain.Grade;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GradeService {

    public List<Grade> getGradeListByType(Integer type) {
        return GradeCache.INSTANCE.getGradeList(type);
    }
}
